<?php
	defined('_JEXEC') or die();
	jimport('joomla.application.component.model');
	class ContratosModelContratos extends JModel
	{
		var $datos;
		function getData()
		{
			if(empty($this->datos))
			{
				$query = 'select * from #__contratos';
				$this->datos = $this->_getList($query);
			}
			return $this->datos;
		}
		function edit()
		{
			
		}
	}
?>